﻿using System;
using System.Collections.Generic;

namespace Sizebox.CharacterEditor
{
	// Token: 0x0200024C RID: 588
	public class WeldView : BaseSkeletonHandleView
	{
		// Token: 0x1700017B RID: 379
		// (get) Token: 0x06000CCA RID: 3274 RVA: 0x000675E4 File Offset: 0x000657E4
		public override string DataId
		{
			get
			{
				return "welds";
			}
		}

		// Token: 0x1700017C RID: 380
		// (get) Token: 0x06000CCB RID: 3275 RVA: 0x000675EB File Offset: 0x000657EB
		protected override string DATA_FILE_NAME
		{
			get
			{
				return ".weldset";
			}
		}

		// Token: 0x06000CCC RID: 3276 RVA: 0x000675F4 File Offset: 0x000657F4
		protected override void LoadDefaultKeys(CharacterEditor targetEditor)
		{
			base.Keys.Clear();
			List<EditBone> bones = targetEditor.SkeletonEdit.Skeleton.Bones;
			foreach (EditBone editBone in bones)
			{
				string transformKey = targetEditor.GetTransformKey(editBone.RealTransform);
				if (transformKey != null)
				{
					base.Keys.Add(transformKey);
				}
			}
		}
	}
}
